Skip to content

Profile page: the apps table generator reads the family spec; the published table is unchanged - #13

Merged
nodemode-ai merged 5 commits into
mainfrom
chore/apps-table-from-family-spec
Nov 21, 2026
Merged

nodemode-ai merged 5 commits into
mainfrom
chore/apps-table-from-family-spec

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

Profile page: the apps table generator reads the family spec; the published table is unchanged

What changes

  • profile/README.md is byte-identical to what is published today. Nothing on the organisation's page changes with this PR.
  • scripts/apps_table.py can now read the family spec that formadaptor builds (--family PATH) and has a --check mode. The rule for which apps the page lists is one named line in the script.
  • The workflow apps-table.yml now runs the tests only. It no longer fetches anything or rewrites the page.

Why the table was not regenerated

A regeneration from the registry would have dropped six apps that the site shows as live (the registry has them as public or prelaunch): the page went from 17 rows to 11. That was reverted on this branch. Which apps the page lists is the owner's decision; until it is made, the page stays as published and formadaptor's profile target is switched off.

How it was checked

  • The script's tests pass locally (tests/test_apps_table.py).
  • profile/README.md compared byte for byte with main.

Not verified

  • The workflow was not run on GitHub.

Held for the owner

  • The listing rule for the page: (a) registry state live only (11 rows), (b) the 17 published today, kept by hand, or (c) every public app (23 rows).

Merge

Merge with a merge commit. Do not squash and do not rebase-merge.

…heck

scripts/apps_table.py no longer fetches the formai.studio catalogue. It follows
formadaptor's generator contract: `--family PATH` writes the apps table and the
licence sentence in profile/README.md between their existing markers, and
`--family PATH --check` writes nothing, prints profile/README.md and exits 1 when
the committed file differs. A bad spec or README exits 2. No network, standard
library only, runs as `python3 -I`, same spec gives the same bytes.

Only entries with public true are read; an entry with public false is skipped
before any other field is looked at. The rule for which apps show is kept (state
live, safe machine id) and links to the site use the machine id. Rows are sorted
by name. The licence sentence is derived from the licences of the listed apps.

tests/test_apps_table.py is updated for the spec's shape, because the functions
now take family.json content instead of the catalogue and the empty-list error
changed; tests are added for private entries, the id link, ordering, licence
variants and the --check exit codes. Baseline before the change: 7 passed (old
suite). After: 14 passed.

Ran: the script against /home/claude/form/work/scratch/family.sample.json with
--check (exit 1, printed profile/README.md), then without it (wrote), then
--check again (exit 0) and a second write (identical bytes). The regenerated
README is committed separately.
…mily spec

Regenerated with `python3 -I scripts/apps_table.py --family family.json` (the
sample spec at 2026-11-19, registry 0.16.0); `--check` now exits 0.

Removed: FormPortal and FormEncoder (state public, not live), FormMCP, FormSkills,
FormPDF and FormTray (state prelaunch). Changed: FormDeck links to the site id
formslide; form.ext takes the registry's name and summary. All rows are now
sorted by name. The licence sentence now names only form.ext, because FormPortal,
FormMCP and FormSkills are no longer listed.
…e family spec

The workflow no longer fetches formai.studio on a schedule and no longer opens
bot pull requests; formadaptor opens those now. After the tests it downloads
family.json from formadaptor's spec branch and runs
`python3 -I scripts/apps_table.py --family <spec> --check` on pushes to main, on
pull requests and by hand. Permissions stay contents: read; the action pins,
Python 3.12 and pytest 8.3.3 are unchanged.

Ran: the YAML parses (jobs test and check, triggers push, workflow_dispatch,
pull_request); the check step's command against the sample spec exits 0. The
download step was run against the real address and answered 404 because the spec
branch is not published yet; it could not be run to success here, and the job
itself cannot run outside GitHub.
…s settled

Regenerating the table from the family spec cut the public list from 17
rows to 11 and changed the licence line. The table lists only apps whose
state is live, and the spec (built from the registry) marks six apps the
page shows today as public (FormPortal, FormEncoder) or prelaunch
(FormMCP, FormSkills, FormPDF, FormTray). The owner has not decided which
source is right, so the page must not change until then.

profile/README.md is restored to exactly what origin/main has, by hand
edits of the table region and the licence line.
…e named line

The page is back to its published table (see the revert) and is not
generated from the family spec yet, so the apps-table workflow drops the
check job and its network fetch and only runs the script's tests on push,
pull request and by hand. The HASHOUT_LOG says what to switch on when the
owner decides: the --check step against scripts/family.spec.json and the
first regeneration. No spec copy is committed.

apps_table.py names the listing rule: LISTING_RULE is one assignment,
today state live, with the two other candidates beside it (rule c lists
every public app that has a published release). No behaviour change and
no command-line switch. Tests added for the rule and for rule c.
@nodemode-ai
nodemode-ai merged commit 37df820 into main Nov 21, 2026
1 check passed
@nodemode-ai
nodemode-ai deleted the chore/apps-table-from-family-spec branch November 22, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant